Improve popover positioning
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2014 03:14:51 +0000 (22:14 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2014 03:14:51 +0000 (22:14 -0500)
commit14ba1280ce1424497be2fb797807a362d14956b3
treebbf880070c11891e56e82b4404ceccee6cd349f8
parent9822d510a68e01db4468db7629d4e7fb40e7abcc
Improve popover positioning

Improve the algorithm to determing popover placement:
If it fits in the preferred direction or its opposite,
do that, otherwise use the direction that causes the least
of the popover to be cut off.
gtk/gtkpopover.c